package com.yict.csms.resourceplan.service;

import java.util.Date;
import java.util.List;

import com.yict.common.service.IBaseService;
import com.yict.csms.resourceplan.dao.IMachineTimeDao;
import com.yict.csms.resourceplan.entity.MachineTime;

public interface IMachineTimeService extends IBaseService<MachineTime, Long, IMachineTimeDao> {

	/**
	 * 查询下三更信息,即查询mydate标示的日期，和timeShift标示的更次（不含）之后的三个更次
	 * 
	 * @param mydate
	 * @param timeShift
	 * @return
	 */
	public List<MachineTime> queryNext3Time(Date mydate, String timeShift);
	
	/**
	 * 保存业务
	 * @param vo
	 * @param voList
	 * @return
	 */
	public boolean save(MachineTime vo,List<MachineTime> voList) throws Exception;
}
